<template>
  <div class="home">
      我是home
      <router-link to="/home/news">news</router-link>
      <router-link to="/home/lists">lists</router-link>
      <hr>

      <router-view></router-view>
  </div>
</template>

<script>
export default {
    name:"home",
    data(){
        return{

        }
    },
    mounted(){
        // console.log("home")
        // $route  当前路由对象
        console.log(this.$route)
    }
}
</script>

<style>

</style>